package bean;

import java.util.List;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;

@Entity
@DiscriminatorValue("Salon")
public class SalonBean extends AreaBean{

	/**
	 * 
	 */
	private static final long serialVersionUID = -5343266967175085262L;
	
	@OneToMany
	@JoinColumn(name="idArea")
	private List<SectorBean> Sectores;

	public List<SectorBean> getSectores() {
		return Sectores;
	}

	public void setSectores(List<SectorBean> sectores) {
		Sectores = sectores;
	}
	
	
}
